home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / dtswps.zip / DTSFILES.ZIP / EXAMPLE / MAKEFILE < prev   
Text File  |  1996-06-27  |  799b  |  26 lines

  1. .SUFFIXES:
  2. .SUFFIXES: .cpp .obj .dll .idl .rc .res .pdl .def
  3. .idl.def:
  4.        sc -p -sdef $(SCFLAGS) $(@B).idl
  5. .idl.hh:
  6.        sc -p -shh -mnoqualifytypes -musehpass -S1000000 $(@B).idl
  7. all: ex1.dll
  8. ex1.obj: $$(@B).cpp $$(@B).hh
  9.       icc /c /Gd- /ss /Ms /Gm+ /Ge- /Ti+ -I. -c $(@B).cpp
  10. ex1.dll: $$(@B).def ex1.obj ex1.res
  11.        icc /B" /de" /Feex1.dll /Fmex1.map ex1.def ex1.obj
  12.        rc -p -x $*.res $*.dll
  13.        mapsym ex1.map
  14. ex1.res: $$(@B).rc $$(@B).hh
  15.          rc -i . -r $*.rc $*.res
  16. clean:
  17.         -del *.obj >nul 2>nul
  18.         -del *.hh   >nul 2>nul
  19.         -del *.dll >nul 2>nul
  20.         -del *.hlp >nul 2>nul
  21.         -del *.map >nul 2>nul
  22.         -del *.sym >nul 2>nul
  23.         -del *.res >nul 2>nul
  24.         -del *.def >nul 2>nul
  25.         -del *.exe >nul 2>nul
  26.